package org.longteng.monitor.dao.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

/**
* 用时访问统计信息
*/
@TableName(value="time_statistics_log")
public class TimeStatisticsLog implements Serializable {
    /**
    * 唯一id
    */
    @TableId(value="log_id",type= IdType.AUTO)
    private Long logId;

    /**
    * 记录时间
    */
    private Date logDate;

    /**
    * 租户范围
    */
    private String scope;

    /**
    * 代码层
    */
    private String codeLayer;
    /**
     * 线程Id
     */
    private Long threadId;

    /**
    * 类与方法
    */
    private String methodKey;

    /**
    * 类名
    */
    private String className;

    /**
    * 方法名
    */
    private String methodName;

    /**
    * 用时（MS）
    */
    private Long porceedTimes;

    /**
    * 开始时间
    */
    private Long startTime;

    /**
    * 执行结束时间
    */
    private Long endTime;

    /**
    * 运行状态
    */
    private String runStatus;

    /**
     * 接口入参json
     */
    private String inParam;
    /**
     * 接口出参返回值json
     */
    private String outResult;
    /**更新时间*/
    private Date updateDate;

    public Long getLogId() {
        return logId;
    }

    public void setLogId(Long logId) {
        this.logId = logId;
    }

    public Date getLogDate() {
        return logDate;
    }

    public void setLogDate(Date logDate) {
        this.logDate = logDate;
    }

    public String getScope() {
        return scope;
    }

    public void setScope(String scope) {
        this.scope = scope;
    }

    public String getCodeLayer() {
        return codeLayer;
    }

    public void setCodeLayer(String codeLayer) {
        this.codeLayer = codeLayer;
    }

    public String getMethodKey() {
        return methodKey;
    }

    public void setMethodKey(String methodKey) {
        this.methodKey = methodKey;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public String getMethodName() {
        return methodName;
    }

    public void setMethodName(String methodName) {
        this.methodName = methodName;
    }

    public Long getPorceedTimes() {
        return porceedTimes;
    }

    public void setPorceedTimes(Long porceedTimes) {
        this.porceedTimes = porceedTimes;
    }

    public Long getStartTime() {
        return startTime;
    }

    public void setStartTime(Long startTime) {
        this.startTime = startTime;
    }

    public Long getEndTime() {
        return endTime;
    }

    public void setEndTime(Long endTime) {
        this.endTime = endTime;
    }

    public String getRunStatus() {
        return runStatus;
    }

    public void setRunStatus(String runStatus) {
        this.runStatus = runStatus;
    }

    public Long getThreadId() {
        return threadId;
    }

    public void setThreadId(Long threadId) {
        this.threadId = threadId;
    }

    public String getInParam() {
        return inParam;
    }
    public void setInParam(String inParam) {
        this.inParam = inParam;
    }

    public String getOutResult() {
        return outResult;
    }
    public void setOutResult(String outResult) {
        this.outResult = outResult;
    }

    public Date getUpdateDate() {
        return updateDate;
    }
    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }
}